/**
 * 
 */
package com.bingya.service.system;

import java.io.Serializable;
import java.util.List;

import com.bingya.model.Page;


/**
 * @author huangjixin
 * 
 */
public interface IGenericService<T extends Serializable, PK extends Serializable> {

	int deleteByPrimaryKey(Integer id);

	int insert(T entity);

	List<T> selectAll();

	T selectByPrimaryKey(Integer id);

	int update(T entity);

	Page findPage(Page page);
}
